﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Hx.ADSyncPlatform.Common.Config
{
    public class ComputerSetting
    {
        public List<string> Prefix { get; set; }

        public List<string> Suffix { get; set; }


        public string SuffixMin
        {
            get
            {
                if (Suffix == null || Suffix.Count != 2) return string.Empty;
                return Suffix[0];

            }
        }

        public string SuffixMax
        {
            get
            {
                if (Suffix == null || Suffix.Count != 2) return string.Empty;
                return Suffix[1];

            }
        }
    }
}
